package com.cqjtu.eecs.entity.params.trainingGoal;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Data
@ToString
@EqualsAndHashCode
public class TrainingGoalAddParams {
    @NotNull(message="年级不可为空")
    @ApiModelProperty(value = "年级")
    private Integer grade;

    @NotBlank(message="专业代码不可为空")
    @ApiModelProperty(value = "专业代码")
    @Size(max = 6,min = 6)
    private String majorCode;

    @NotBlank(message="培养目标代码不可为空")
    @ApiModelProperty(value = "培养目标代码")
    private String trainingGoalCode;

    @ApiModelProperty(value = "培养目标描述")
    private String trainingGoalDesc;
}
